package io.renren.modules.workmanagement.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.workmanagement.entity.StudentEntity;
import io.renren.modules.workmanagement.vo.AddStudentVO;
import io.renren.modules.workmanagement.vo.BatchAddStudentVO;
import io.renren.modules.workmanagement.vo.StudentVO;

import java.util.List;
import java.util.Map;

/**
 *
 *
 * @author yewei
 * @email sunlightcs@gmail.com
 * @date 2022-04-23 21:11:24
 */
public interface StudentService extends IService<StudentEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void addStudent(AddStudentVO addStudentVO, Long userId);

    List<StudentEntity> getListByClassIds(List<Long> classIds);

    void updateStudent(AddStudentVO addStudentVO);

    void deleteStudent(Long stuNo, Long classId);

    StudentEntity getByUserId(Long userId);

    void batchAddStudent(BatchAddStudentVO batchAddStudentVO, Long userId);

    List<StudentVO> getListByClassId(Long calssId);

    void removeByClassIds(List<Integer> asList);
}

